package com.pandacc.pojo.fiction;

import java.util.List;

/**
 * 记录小说章节的信息，包含id,章节名,章节内容，以及关联的小说id
 * @author duzhiwei
 *
 */
public class FictionChaptersDetailsBean {
	
	private int chapterId;
	private int nextChapterId;
	private String chapterName;
	private List<String> content;
	private int fictionId;
	
	public FictionChaptersDetailsBean(){
	}
	
	public FictionChaptersDetailsBean(int chapterId){
		this.chapterId = chapterId;
	}
	
	public int getNextChapterId() {
		return nextChapterId;
	}
	public void setNextChapterId(int nextChapterId) {
		this.nextChapterId = nextChapterId;
	}
	public String getChapterName() {
		return chapterName;
	}
	public List<String> getContent() {
		return content;
	}
	public int getChapterId() {
		return chapterId;
	}

	public void setChapterId(int chapterId) {
		this.chapterId = chapterId;
	}

	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}

	public void setContent(List<String> context) {
		this.content = context;
	}

	public void setFictionId(int fictionId) {
		this.fictionId = fictionId;
	}

	public int getFictionId() {
		return fictionId;
	}
	
	@Override
	public String toString(){
		return String.format("FictionChaptersDetailsBean info - fiction id: %s"
				+ ", chapter id: %s, chapter name: %s, conent: %s"
				, fictionId, chapterId, chapterName, content);
	}
}
